package com.zjgsu.entity;/*
Date: 2018-04-10 21:51
Description: 
*/

import org.springframework.stereotype.Component;

@Component
public class User2 {
    String username;
    String password;

    public User2(String tname, String tpwd) {
        username = tname;
        password = tpwd;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
